<?php
function smarty_function_formhash($params, &$smarty){
	return empty($params['key']) ? Controller::setFormRand() : Controller::setFormRand($params['key']);
}